import Redis from 'ioredis'
// 可以写一个单列
const url = process.env.REDIS_URL as string
let redis = new Redis(url)

export default redis
